Install WordPress Locally with MAMP

WordPressMAMP

May 07, 2024

To run a WordPress we need a server that runs PHP and MySQL on it. For installing WordPress on our computer we will need to install a local server environment. We can set each of the required software separately or we can use a package such as MAMP which comes packed with a server Apache, MySQL, and PHP.

Install MAMP

Download WordPress

  1. Download latest version: https://wordpress.org/download/
  2. Extract the WordPress zip file
  3. Paste the extracted WordPress folder into an expected folder. I put it into the Projects folder for me

MAMP Settings

  1. Select the latest PHP version
  2. Choose the folder that contains the extracted wordpress folder for the Document root.

Create WordPress Database

  1. Click Start On the MAMP app
  2. Visit localhost/phpMyAdmin on the browser
  3. Click on the Databases tab
  4. Type the name of the database as wordpress. Then click on Create.

Install WordPress

  1. Visit http://localhost:8888/wordpress on the browser
  2. Select your language then click Continue
  3. Set the database then click Run the installation
  4. Name a title for the website
  5. Type the username, password and email for the website then click Install WordPress
  6. Login
  7. All done, now you can see the website